<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>测试时间提示</title>
    <script type="application/javascript" th:src="@{/webjars/jquery/3.3.1/jquery.js}"></script>
    <script type="application/javascript" th:src="@{/webjars/bootstrap/3.1.1/js/bootstrap.js}"></script>
</head>
<body>
    <p th:text="${msg}" th:if="${msg != null}"></p>
    <div th:if="${timePartitionTotalAvg != null}">
        <h3 style="color: red">您的测试平均值为</h3>
        <div>
            平均正确率：<span th:text="${#numbers.formatDecimal(timePartitionTotalAvg.avgRightRate,1,'COMMA',2,'POINT')}"></span> %;
            平均反应时间: <span th:text="${#numbers.formatDecimal(timePartitionTotalAvg.avgTime,1,'COMMA',2,'POINT')}"></span> ms
        </div>
    </div>
    <p>你已完成本次测试</p>
</body>
</html>